package router

import (
	"api-gate/handler"
	"github.com/gin-gonic/gin"
)

func LordRouter(r *gin.Engine) {
	api := r.Group("/api")
	{
		goods := api.Group("/goods")
		{
			goods.POST("/goodsAdd", handler.GoodsAdd)
			goods.POST("/upload", handler.Upload)
			goods.POST("/goodsItemAdd", handler.GoodsItemAdd)
			goods.POST("/goodsOther", handler.GoodsOther)
			goods.POST("/goodsList", handler.GoodsList)
		}
	}
}
